package com.ning.service.impl;

import com.ning.service.ProductService;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

//zookeeper：服务注册与发现
@Service
@Component
public class ProductServiceImpl implements ProductService {
    @Override
    public String getProduct() {
        return "Remote："+this.getClass().getName();
    }
}
